package com.chefu.operator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chefu.operator.pojo.OperatorArticle;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文章接口
 */
public interface ArticleMapper extends BaseMapper<OperatorArticle> {
    /**
     * 分页查询文章列表
     */
     List<OperatorArticle> queryArticlesByPage(
             @Param("title")String title,
             @Param("category")Long category,
             @Param("releaser")Long releaser,
             @Param("status")Integer status,
             @Param("startTime")String startTime,
             @Param("endTime")String endTime,
             @Param("start")Long start,
             @Param("length")Integer length);
}
